package com.oa.modules.approvalsec1.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oa.common.utils.PageUtils;
import com.oa.modules.approvalsec1.entity.LicenceEntity;

import java.util.List;
import java.util.Map;

public interface LicenceService extends IService<LicenceEntity> {
    List<LicenceEntity> getFirst();

    List<LicenceEntity> getChildrenById(Integer id);

    List<LicenceEntity> getTextByIds(Integer[] ids);

    List<LicenceEntity> getTree();

    List<LicenceEntity> getChildrenByName(String name);

    List<LicenceEntity> getChildrenByName2(String name);

    void submit(Map<String,Object> map);

    List<Map> getCategoryTotal();

    List<Map> getDateTotal();

    PageUtils queryPage(Map<String, Object> params);

    List<String> selectFile(String[] idarray);
}
